home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************************
- x_CAbout.h
-
- Header File For CAbout Lower-Layer Dialog Class
-
- Copyright © 1996 Dan Crevier. All rights reserved.
-
- Generated by Visual Architectâ„¢
-
- This file is rewritten each time you generate code. You should not
- make changes to this file; changes should go in the My.h
- file, instead.
-
- If you want to change how Visual Architect generates this file, you can
- change the template for this file. It is "_Dialog.h" in the Visual Architect
- Templates folder.
-
- ******************************************************************************/
-
- #pragma once
-
- #include "CDialogDirector.h"
-
- class CStaticText;
- class CButton;
-
- // Data struct for initializing dialog items
- // and receiving changed values
-
- typedef struct
- {
- // This dialog has no editable panes!
- // The Boolean prevents a compile error.
-
- Boolean dummy;
- } CAboutData;
-
- // We define a separate struct for UpdateData() which
- // eliminates duplicate data types
-
- typedef struct
- {
- Str255 stringvalue; // CDialogText
- long longvalue; // CIntegerText
- short value; // All other controls and buttons
- Point selection; // CArrayPane
- } CAboutUpdate;
-
- class CDirectorOwner;
- class CPanorama;
- class CPane;
-
- class x_CAbout : public CDialogDirector
- {
- public:
-
- TCL_DECLARE_CLASS
-
- // Pointers to panes in window
- CStaticText *fAbout_Stat1;
- CButton *fAbout_Butn2;
- CStaticText *fAbout_Stat3;
- CStaticText *fAbout_Stat5;
-
-
- void Ix_CAbout(CDirectorOwner *aSupervisor, Boolean push = FALSE);
-
- virtual long DoModalDialog(long defaultCmd);
- virtual Boolean Close(Boolean quitting);
- virtual void ProviderChanged(CCollaborator *aProvider, long reason, void* info);
-
- protected:
- Boolean ignore;
- Boolean pushData;
- CAboutData saveData;
-
- virtual void MakeNewWindow(void);
-
- // Pull-style functions
- virtual void BeginData(CAboutData *initial);
- virtual void UpdateData(CAboutUpdate *update, long itemNo);
- virtual void EndData(CAboutData *final);
-
- // Push-style functions
- virtual void SetData(const CAboutData& initial);
- virtual void GetData(CAboutData& final);
-
- virtual void DispensePaneValues(const CAboutData& data);
- virtual void CollectPaneValues(CAboutData& data);
-
-
- CPane *FindPane(long ID);
-
- private:
- virtual void DoBeginData(Boolean push);
- virtual void DoEndData(long theCommand);
- };
-
- #define CVueCAbout 129
-